package com.klm.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * <p>
 * 翻译平台使用记录表
 * </p>
 *
 * @author klm
 * @since 2024-03-20
 */
@Getter
@Setter
@TableName("translate_platform_usage")
public class TranslatePlatformUsageEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.ASSIGN_UUID)
    private String id;

    /**
     * 平台代码
     */
    private String platformCode;

    /**
     * 使用日期
     */
    private LocalDate usageDate;

    /**
     * 累计字节数
     */
    private Long totalBytes;

    /**
     * 累计请求次数
     */
    private Integer totalRequests;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;

    /**
     * 更新时间
     */
    private LocalDateTime updateTime;
} 